package com.xhwl.data.service.personal;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xhwl.common.dto.cent.sdata.StaffAuditRecordDTO;
import com.xhwl.common.pojo.ResultJson;
import com.xhwl.common.pojo.cent.sdata.Account;
import com.xhwl.common.pojo.cent.sdata.personnel.StaffAuditRecord;
import com.xhwl.common.query.cent.sdata.StaffAuditRecordQuery;

/**
 * @Author lanminjun
 * @Description:
 * @Date Create in 9:26 2023/02/15
 */
public interface IStaffAuditRecordService extends IService<StaffAuditRecord> {
    ResultJson create(StaffAuditRecordDTO staffAuditRecordDTO, Account account);

    ResultJson edit(StaffAuditRecordDTO staffAuditRecordDTO, Account account);

    Page<StaffAuditRecord> page(StaffAuditRecordQuery query,Page page);

    ResultJson checkStatu(Integer accountId,Integer enterpriseId);
}